package AccionesSemanticas;

public class AccLReadMinus1 implements AccSemantica {

    private int[] lastRead;
    
    //Semantic Action that returns the last read character to the buffer
    public AccLReadMinus1(int[] lastRead){
        this.lastRead = lastRead;
    }
   
    public String doAction() {
       lastRead[0] = lastRead[0]-1;
        return null;
    }
    
}
